[up_sect_firsta_p90]
cost                                     = 2680
value                                    = -10
cam_dispersion                           = -0.044 
cam_dispersion_inc                       = 0.0 ;-0.036 
cam_step_angle_horz                      = -0.122 
zoom_cam_dispersion                      = -0.037
zoom_cam_dispersion_inc                  = 0.0 ; -0.019
zoom_cam_step_angle_horz                 = -0.117
inv_weight                               = +0.15


[up_sect_firstc_p90]
cost                                     = 3200
value                                    = +10
fire_dispersion_base                     = -0.05

inv_weight                               = +0.05


[up_sect_firstd_p90]
cost                                     = 3360
value                                    = +5
rpm                                      = +40
inv_weight                               = +0.1



[up_sect_firste_p90]
cost                                     = 3450
value                                    = +5
rpm                                      = +40
inv_weight                               = +0.1


[up_sect_secona_p90]
cost                                     = 3240
value                                    = +5
rpm                                      = +40
inv_weight                               = +0.125


[up_sect_seconc_p90]
cost                                     = 3150
value                                    = +15

condition_shot_dec                       = -0.0001
condition_queue_shot_dec                 = -0.0001
misfire_start_prob                       = -0.001
misfire_end_prob                         = -0.016
inv_weight                               = +0.15


[up_sect_secone_p90]
cost                                     = 3060
value                                    = +20
fire_dispersion_base                     = -0.09

inv_weight                               = +0.1


[up_sect_seconf_p90]
cost                                     = 2730
value                                    = -10
cam_dispersion                           = -0.044 
cam_dispersion_inc                       = 0.0 ;-0.036 
cam_step_angle_horz                      = -0.122 
zoom_cam_dispersion                      = -0.037
zoom_cam_dispersion_inc                  = 0.0 ; -0.019
zoom_cam_step_angle_horz                 = -0.117
inv_weight                               = +0.1


[up_sect_thirda_p90]
cost                                     = 2840
value                                    = -10
cam_dispersion                           = -0.044 
cam_dispersion_inc                       = 0.0 ;-0.036 
cam_step_angle_horz                      = -0.122 
zoom_cam_dispersion                      = -0.037
zoom_cam_dispersion_inc                  = 0.0 ; -0.019
zoom_cam_step_angle_horz                 = -0.117
inv_weight                               = +0.1


[up_sect_thirdc_p90]
cost                                     = 2670
value                                    = +15
crosshair_inertion                       = -0.35
PDM_disp_base                            = -0.07
PDM_disp_vel_factor                      = -0.25
PDM_disp_accel_factor                    = -0.25
inv_weight                               = -0.15


[up_sect_thirdd_p90]
cost                                     = 3240
value                                    = +15

condition_shot_dec                       = -0.0001
condition_queue_shot_dec                 = -0.0001
misfire_start_prob                       = -0.001
misfire_end_prob                         = -0.016
inv_weight                               = +0.15


[up_sect_thirde_p90]
cost                                     = 3360
value                                    = +10
rpm                                      = +80
inv_weight                               = +0.1


[up_sect_fourta_p90]
cost                                     = 2980
value                                    = +10

condition_shot_dec                       = -0.00009
condition_queue_shot_dec                 = -0.00009
misfire_start_prob                       = -0.0008
misfire_end_prob                         = -0.008
inv_weight                               = +0.1


[up_sect_fourtc_p90]
cost                                     = 3680
value                                    = +5
rpm                                      = +40
inv_weight                               = +0.1


[up_sect_fourte_p90]
cost                                     = 2870
value                                    = +25
crosshair_inertion                       = -0.5
PDM_disp_base                            = -0.1
PDM_disp_vel_factor                      = -0.25
PDM_disp_accel_factor                    = -0.25
inv_weight                               = -0.05


[up_sect_fourtf_p90]
cost                                     = 3860
value                                    = +20
bullet_speed                             = +80
fire_distance                            = +50
fire_dispersion_base                     = -0.024
inv_weight                               = +0.1

[up_sect_fiftha_p90]
cost                                     = 1260
silencer_status                          = 2
silencer_name                            = wpn_addon_silencer 
silencer_x                               = 185
silencer_y                               = 13
snd_silncer_shot                         = weapons\mp5\mp5_shot_sil
inv_weight                               = +0.02


[up_sect_fifthc_p90]
cost                                     = 4670
value                                    = ".45 ACP"
ammo_class                               = ammo_11.43x23_fmj, ammo_11.43x23_hydro
hit_power								 = 0.58, 0.58, 0.58, 0.58
condition_shot_dec                       = +0.0001
condition_queue_shot_dec                 = +0.0001
misfire_start_prob                       = 0.0005
misfire_end_prob                         = 0.005

ammo_mag_size = -10




;----------------------------------------------------------------------------------------------------------------------
[up_firsta_p90]
scheme_index                             = 0, 0
known                                    = 1
effects                                  = up_gr_firstcd_p90
section                                  = up_sect_firsta_p90
property                                 = prop_recoil
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = on_weapon_upgrade_something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_ret_a3_name
description                              = st_up_ret_a3_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_1


[up_firstc_p90]
scheme_index                             = 1, 0
known                                    = 1
effects                                  = up_gr_firstef_p90
section                                  = up_sect_firstc_p90
property                                 = prop_dispersion
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_ret_b3_name
description                              = st_up_ret_b3_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_2

[up_firstd_p90]
scheme_index                             = 1, 1
known                                    = 1
effects                                  = up_gr_firstef_p90
section                                  = up_sect_firstd_p90
property                                 = prop_rpm
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_ret_b2_name
description                              = st_up_ret_b2_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_3

[up_firste_p90]
scheme_index                             = 2, 0
known                                    = 1
effects                                  =
section                                  = up_sect_firste_p90
property                                 = prop_rpm
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_ret_c2_name
description                              = st_up_ret_c2_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_4

[up_secona_p90]
scheme_index                             = 0, 1
known                                    = 1
effects                                  = up_gr_seconcd_p90
section                                  = up_sect_secona_p90
property                                 = prop_rpm
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_zat_a3_name
description                              = st_up_zat_a3_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_5

[up_seconc_p90]
scheme_index                             = 1, 2
known                                    = 1
effects                                  = up_gr_seconef_p90
section                                  = up_sect_seconc_p90
property                                 = prop_reliability
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_zat_b4_name
description                              = st_up_zat_b4_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_6

[up_secone_p90]
scheme_index                             = 2, 1
known                                    = 1
effects                                  =
section                                  = up_sect_secone_p90
property                                 = prop_dispersion
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_zat_c5_name
description                              = st_up_zat_c5_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_7

[up_seconf_p90]
scheme_index                             = 2, 2
known                                    = 1
effects                                  =
section                                  = up_sect_seconf_p90
property                                 = prop_recoil
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_zat_c1_name
description                              = st_up_zat_c1_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_8


[up_thirda_p90]
scheme_index                             = 0, 2
known                                    = 1
effects                                  = up_gr_thirdcd_p90
section                                  = up_sect_thirda_p90
property                                 = prop_recoil
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_usm_a1_name
description                              = st_up_usm_a1_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_9

[up_thirdc_p90]
scheme_index                             = 1, 3
known                                    = 1
effects                                  = up_gr_thirdef_p90
section                                  = up_sect_thirdc_p90
property                                 = prop_inertion
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_usm_b3_name
description                              = st_up_usm_b3_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_10

[up_thirdd_p90]
scheme_index                             = 1, 4
known                                    = 1
effects                                  = up_gr_thirdef_p90
section                                  = up_sect_thirdd_p90
property                                 = prop_reliability
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_usm_b1_name
description                              = st_up_usm_b1_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_11

[up_thirde_p90]
scheme_index                             = 2, 3
known                                    = 1
effects                                  =
section                                  = up_sect_thirde_p90
property                                 = prop_rpm
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_usm_c2_name
description                              = st_up_usm_c2_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_12


[up_fourta_p90]
scheme_index                             = 0, 3
known                                    = 1
effects                                  = up_gr_fourtcd_p90
section                                  = up_sect_fourta_p90
property                                 = prop_reliability
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_stk_a2_name
description                              = st_up_stk_a2_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_13


[up_fourtc_p90]
scheme_index                             = 1, 5
known                                    = 1
effects                                  = up_gr_fourtef_p90
section                                  = up_sect_fourtc_p90
property                                 = prop_rpm
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_stk_b1_name
description                              = st_up_stk_b1_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_14

[up_fourte_p90]
scheme_index                             = 2, 4
known                                    = 1
effects                                  =
section                                  = up_sect_fourte_p90
property                                 = prop_inertion
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_stk_c3_name
description                              = st_up_stk_c3_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_15


[up_fourtf_p90]
scheme_index                             = 2, 5
known                                    = 1
effects                                  =
section                                  = up_sect_fourtf_p90
property                                 = prop_bullet_speed
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_stk_c2_name
description                              = st_up_stk_c2_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_16


[up_fiftha_p90]
scheme_index                             = 0, 4
known                                    = 1
effects                                  = up_gr_fifthcd_p90
section                                  = up_sect_fiftha_p90
property                                 = prop_silencer
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_add_a1_name
description                              = st_up_add_a1_descr
icon                                     = ui_inGame2_upgrade_IL86_16

[up_fifthc_p90]
scheme_index                             = 1, 6
known                                    = 1
effects                                  =
section                                  = up_sect_fifthc_p90
property                                 = prop_calibre
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = true
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = str_up_p90_45acp
description                              = str_up_p90_45acp_descr
icon                                     = ui_inGame2_upgrade_Gadyuka_5_18


;----------------------------------------------------------------------------------------------------------------------
[up_gr_firstab_p90]
elements                                 = up_firsta_p90

[up_gr_firstcd_p90]
elements                                 = up_firstc_p90, up_firstd_p90

[up_gr_firstef_p90]
elements                                 = up_firste_p90

[up_gr_seconab_p90]
elements                                 = up_secona_p90

[up_gr_seconcd_p90]
elements                                 = up_seconc_p90

[up_gr_seconef_p90]
elements                                 = up_secone_p90, up_seconf_p90

[up_gr_thirdab_p90]
elements                                 = up_thirda_p90

[up_gr_thirdcd_p90]
elements                                 = up_thirdc_p90, up_thirdd_p90

[up_gr_thirdef_p90]
elements                                 = up_thirde_p90

[up_gr_fourtab_p90]
elements                                 = up_fourta_p90

[up_gr_fourtcd_p90]
elements                                 = up_fourtc_p90

[up_gr_fourtef_p90]
elements                                 = up_fourte_p90, up_fourtf_p90

[up_gr_fifthab_p90]
elements                                 = up_fiftha_p90

[up_gr_fifthcd_p90]
elements                                 = up_fifthc_p90
